<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<pre>
	type:number数字,currency货币,percent百分比
	currencySymbol:货币的符号
	maxFractionDigits:最大小数部分显示多少位
	maxIntegerDigits:整数部分最多显示多少位
	</pre>
	<fmt:formatNumber value="11.0150" type="number">
	</fmt:formatNumber>
	<br>
	<fmt:formatNumber maxFractionDigits="3" value="11.0150" type="number"></fmt:formatNumber>
	<br>
	<fmt:formatNumber maxIntegerDigits="2" value="112.0150" type="number"></fmt:formatNumber>
	<br>
	<fmt:formatNumber value="11.0150" type="currency" ></fmt:formatNumber>
	<br>
	<fmt:formatNumber currencySymbol="$" value="11.0150" type="currency" ></fmt:formatNumber>
	<br>
	<fmt:formatNumber value="11.0150" type="percent"></fmt:formatNumber>
	<br>
	<fmt:formatDate value="<%=new Date() %>" pattern="yyyy-MM-dd HH:mm:ss"/>
	<br>
    <fmt:parseDate value="2014-10-27 16:52:39" type="both"/> 

</body>
</html>